widget-factory: Enable page transitions by default
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Apr 2020 18:33:07 +0000 (14:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Apr 2020 18:33:07 +0000 (14:33 -0400)
No need to make this an easter egg.

demos/widget-factory/widget-factory.c
demos/widget-factory/widget-factory.ui

index b3ec8be1ad2b73dabd34fba11f386f3958c80ba7..3653b763bfb62ca7cf9374496a859cf3d703833c 100644 (file)
@@ -1799,7 +1799,7 @@ activate (GApplication *app)
   static GActionEntry win_entries[] = {
     { "dark", NULL, NULL, "false", change_dark_state },
     { "theme", NULL, "s", "'current'", change_theme_state }, 
-    { "transition", NULL, NULL, "false", change_transition_state },
+    { "transition", NULL, NULL, "true", change_transition_state },
     { "search", activate_search, NULL, NULL, NULL },
     { "delete", activate_delete, NULL, NULL, NULL },
     { "busy", get_busy, NULL, NULL, NULL },
index c71564248d6f9d38909fa31d67fb85d88189896d..e4800f7242012d4037f82b3d078192f5c4a8456b 100644 (file)
@@ -461,6 +461,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
         <child>
           <object class="GtkStack" id="toplevel_stack">
             <property name="transition-duration">250</property>
+            <property name="transition-type">crossfade</property>
             <child>
               <object class="GtkStackPage">
                 <property name="name">page1</property>